#ifndef YOOHOO_XDATA_XDATAOPTION_H
#define YOOHOO_XDATA_XDATAOPTION_H

#include "xdata/export.h"
#include "xmppcore/protocoltranslator.h"

#include <QtCore/QString>

namespace yoohoo_xdata {

using namespace yoohoo_xmppcore;

class YOOHOO_XDATA_EXPORT XDataOption : public ProtocolTranslator {
public:
	XDataOption(QString label = "", QString value = "");
	void setLabel(QString label);
	void setValue(QString value);
	QString label();
	QString value();
	virtual QString toXml();

private:
	QString _label;
	QString _value;
};

}

#endif
